[browser] Support CoreCLR in WebAssembly SDK#122495
Merged
pavelsavara merged 37 commits intodotnet:mainfrom Dec 19, 2025
Merged
[browser] Support CoreCLR in WebAssembly SDK#122495pavelsavara merged 37 commits intodotnet:mainfrom
pavelsavara merged 37 commits intodotnet:mainfrom
Conversation
This was referenced Dec 12, 2025
Open
3 tasks
pavelsavara
reviewed
Dec 18, 2025
pavelsavara
reviewed
Dec 18, 2025
pavelsavara
approved these changes
Dec 18, 2025
Member
|
Wasm.Build.Tests.WasmBrowserRunMainOnly.RunMainOnly 🎉 |
Member
This was referenced Dec 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
coreclr-packages.proj)dotnet-none) with overrides to use CoreCLR (/p:UseMonoRuntime=false) and points packages to those built from the repository/t:RunSample.dllif missing toconfig.mainAssemblyNamebefore running itFixes #120647
Some issues discovered when running various tests
.dllRemoveLoopServerAddTestRunnersToPublishedFiles->ComputeResolvedFilesToPublishList->WasmTriggerPublishAppwith***function in test-main.js are undefined on CoreCLR - [browser][mono] simplify internal testing switches #122616Assembly.LoadFrom(TestAssembly). Mono knows "app" assemblies are loaded; CoreCLR requires to load them through VFSsrc/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build/Microsoft.NET.Sdk.WebAssembly.Browser.targets(241,37): error MSB4057: (NETCORE_ENGINEERING_TELEMETRY=Build) The target "WasmTriggerPublishApp" does not exist in the project.The runtime pack now contains all the necessary files

Errors
Xharness with symbolicator fails
FileNotFoundException: Could not load file or assembly '/System.Console.Tests.dll'
``` dotnet.js:945 DOTNET: FileNotFoundException: Could not load file or assembly '/System.Console.Tests.dll'. The system cannot find the file specified.at System.Runtime.Loader.AssemblyLoadContext.g____PInvoke|5_0(:63603/IntPtr __ptrNativeAssemblyBinder_native, UInt16* __ilPath_native, UInt16* __niPath_native, ObjectHandleOnStack __retAssembly_native)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(:63603/IntPtr ptrNativeAssemblyBinder, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
at System.Runtime.Loader.AssemblyLoadContext.InternalLoadFromPath(:63603/String assemblyPath, String nativeImagePath)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(:63603/String assemblyPath)
at System.Reflection.Assembly.LoadFrom(:63603/String assemblyFile)
at Microsoft.DotNet.XHarness.TestRunners.Xunit.WasmApplicationEntryPoint.GetTestAssemblies(index.html?arg=--run&arg=WasmTestRunner.dll&arg=System.Console.Tests.dll&arg=-notrait&arg=category%…)
at Microsoft.DotNet.XHarness.TestRunners.Common.ApplicationEntryPoint.InternalRunAsync(:63603/LogWriter logger)
at Microsoft.DotNet.XHarness.TestRunners.Common.ApplicationEntryPoint.InternalRunAsync(:63603/ApplicationOptions options, TextWriter loggerWriter, TextWriter resultsFile)
at Microsoft.DotNet.XHarness.TestRunners.Common.WasmApplicationEntryPointBase.RunAsync(index.html?arg=--run&arg=WasmTestRunner.dll&arg=System.Console.Tests.dll&arg=-notrait&arg=category%…)
at Microsoft.DotNet.XHarness.TestRunners.Xunit.WasmApplicationEntryPoint.Run(index.html?arg=--run&arg=WasmTestRunner.dll&arg=System.Console.Tests.dll&arg=-notrait&arg=category%…)
at WasmTestRunner.MainAsync(:63603/String[] args)